mylist = []

flag = -1

while flag != 47:
    inp = input('Please enter an odd number from 1 to 99 (47 to stop): ')
    flag = int(inp)
    if flag == 47:
        break
    mylist.append(flag)

for index in range(len(mylist)):
    print(mylist[index])
